package com.dycx.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dycx.common.entity.CommonDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;



@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user_credit_record")
public class CreditRecordDO extends CommonDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 用户ID
     */
    private Integer uid;

    /**
     * 积分记录类型
     */
    private Integer type;

    /**
     * 积分数，负数为减，正数为加
     */
    private Integer num;

    /**
     * 当前剩余积分
     */
    private Integer currentCredit;

    /**
     * 备注
     */
    private String remark;



}
